


<template>

  <div v-html="newsUrl"></div>
</template>

<style scoped>

</style>
<script >


import axios from "axios";

export default {
  name: 'noticeDetail',
  props: ['url'],
  data() {
    return {
       newsUrl:''
    }

  },
  computed: {
    decodedUrl() {
      return decodeURIComponent(this.url);
    }
  },
  created() {
    axios.get(this.decodedUrl,
    )
        .then(response => {
           this.newsUrl=response.data
        })
        .catch(() => {
          console.log(this.message);
        });

  }


}
</script>